package com.lixin.service.impl;

import com.lixin.dao.UserDao;
import com.lixin.service.UserService;

public class UserServiceImpl implements UserService {

    public UserServiceImpl() {
        System.out.println("UserServiceImpl无参构造方法执行了");
    }

    private UserDao userDao;

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public void getUserList() {
        userDao.getAllUser();
    }

}
